package com.yingjie.yingjieapi.openFeign;



import com.yingjie.commonbase.bo.UserAuthBo;
import com.yingjie.commonbase.commons.ReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "yingjie-gateway", contextId = "api-auth")
public interface AuthFeign {
    @PostMapping("/yingjie-auth/userAuth")
    public ReturnObject<UserAuthBo> userAuth(@RequestParam("userId") Integer userId);

}
